Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples: Dialog's response signal handling #1514

Merged
merged 13 commits into from
Jan 29, 2024

Conversation

jobale
Copy link
Contributor

@jobale jobale commented Oct 16, 2023

Add an example for issue #1168

This example shows:

  • Composite template
  • custom property "counter" and its binding with another property
  • signal "notify::counter"
  • dialog's response signal handling
  • callbacks

examples/composite_dialog/my_app_window/imp.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/imp.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/imp.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
@jobale jobale changed the title Add example of dialog's response signal handling Examples: Dialog's response signal handling Oct 16, 2023
examples/composite_dialog/main.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/imp.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/imp.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/imp.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
examples/composite_dialog/my_app_window/mod.rs Outdated Show resolved Hide resolved
@bilelmoussaoui
Copy link
Member

Sorry for taking too long to get back to this, I have committed your comment suggestions but rustfmt is not happy about it.

Would you mind fixing that & squashing the commits? thank you

@bilelmoussaoui bilelmoussaoui linked an issue Jan 29, 2024 that may be closed by this pull request
@bilelmoussaoui bilelmoussaoui merged commit d48338f into gtk-rs:master Jan 29, 2024
37 checks passed
@bilelmoussaoui
Copy link
Member

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add composite template callbacks examples
2 participants